﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class System_WebUserTime : System.Web.UI.UserControl
{
    private string _strdatetime;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.Form["MyH"] != null && Request.Form["MyH"] != "")
        {
            _strdatetime = Request.Form["MyH"].ToString() + ":" + Request.Form["MyM"].ToString() + ":" + Request.Form["MyS"].ToString();
        }
        else
        {
            _strdatetime = DateTime.Now.Date.ToString();
        }
    }
    public string StrMy
    {
        get { return _strdatetime; }
    }

}
